//---------------------------------------------------------------------
//  This file is part of the Background Motion solution.
// 
//  Copyright (C) Mindscape (TM).  All rights reserved.
//  http://www.mindscape.co.nz
// 
//  THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
//  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//  PARTICULAR PURPOSE.
//---------------------------------------------------------------------

using System;

namespace Mindscape.BackgroundMotion.Services.Contracts.Entities
{
  /// <summary>
  /// A data transport object to represent the state of a Content item returned from the Background Motion services layer
  /// </summary>
  /// <remarks>
  /// We are using a Data Mapping pattern to align this with the Contribution type from the Background Motion domain model
  /// </remarks>
  [Serializable]
  public class Content
  {
    public int Id;
    public string Title;
    public string Description;
    public string DownloadLink;
    public string PreviewImage;
    public DateTime AddedOn;
    public string AddedBy;
    public int Rating;
    public decimal GeoX;
    public decimal GeoY;
  }
}
